-- GENERATED SPELL FOR [Vile Fin Shredder] --


function spell0_1767(pUnit, Event) --@Shred,n/a--
pUnit:FullCastSpellOnTarget(3252,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_1767', 12000, 1)
end

function Sorts_1767(pUnit, Event)
local choix_sorts_1767 = math.random(0, 0)
if choix_sorts_1767 == 0 then
pUnit:RegisterEvent('spell0_1767', 1, 1)
end
end

function mob1767_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_1767', math.random(1500, 3000), 1)
end

function mob1767_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1767_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1767_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(1767, 1, 'mob1767_Action')
RegisterUnitEvent(1767, 2, 'mob1767_Leave')
RegisterUnitEvent(1767, 3, 'mob1767_Kill')
RegisterUnitEvent(1767, 4, 'mob1767_Die')
